#ifndef LIST_H_INCLUDED
#define LIST_H_INCLUDED

#include <iostream>
#include <string>

using namespace std;

void runlistdemo();

class List
{
    public:
        string name;
        class List*next;

        bool hasNext() {
            return this->next != NULL;
        }
};

#endif // LIST_H_INCLUDED
